package com.ruoyi.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;

import java.util.Date;


@ToString
public class PublishGoods {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer cId;
    private Long aId;
    private Integer pPrice;
    private Boolean pBuy;
    private Integer pBuyNum;
    private String pRemark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date updateTime;
    private String name;
    private String phone;
    private String productName;
    private String buyRemark;
    private String filePath;
    private Integer fileReadType;
    private String address;
    private Integer pushAround;
    private String adminRemark;
    private Integer finalBuyNum;
    private Date pushTime ;
    private Integer pushFinal ;
    private Integer status ;

    public Long getaId() {
        return aId;
    }

    public void setaId(Long aId) {
        this.aId = aId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }



    public Integer getpPrice() {
        return pPrice;
    }

    public void setpPrice(Integer pPrice) {
        this.pPrice = pPrice;
    }

    public Boolean getpBuy() {
        return pBuy;
    }

    public void setpBuy(Boolean pBuy) {
        this.pBuy = pBuy;
    }

    public Integer getpBuyNum() {
        return pBuyNum;
    }

    public void setpBuyNum(Integer pBuyNum) {
        this.pBuyNum = pBuyNum;
    }

    public String getpRemark() {
        return pRemark;
    }

    public void setpRemark(String pRemark) {
        this.pRemark = pRemark == null ? null : pRemark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getBuyRemark() {
        return buyRemark;
    }

    public void setBuyRemark(String buyRemark) {
        this.buyRemark = buyRemark == null ? null : buyRemark.trim();
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath == null ? null : filePath.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getAdminRemark() {
        return adminRemark;
    }

    public void setAdminRemark(String adminRemark) {
        this.adminRemark = adminRemark == null ? null : adminRemark.trim();
    }

    public Integer getFinalBuyNum() {
        return finalBuyNum;
    }

    public void setFinalBuyNum(Integer finalBuyNum) {
        this.finalBuyNum = finalBuyNum;
    }

    public Integer getFileReadType() {
        return fileReadType;
    }

    public void setFileReadType(Integer fileReadType) {
        this.fileReadType = fileReadType;
    }

    public Integer getPushAround() {
        return pushAround;
    }

    public void setPushAround(Integer pushAround) {
        this.pushAround = pushAround;
    }

    public Integer getPushFinal() {
        return pushFinal;
    }

    public void setPushFinal(Integer pushFinal) {
        this.pushFinal = pushFinal;
    }
}